Skip to content

refactor: strengthen create-expert delegation and instruction quality guardrails#766

Merged
FL4TLiN3 merged 1 commit intomainfrom
refactor/create-expert-delegation-guardrails
Mar 13, 2026
Merged

refactor: strengthen create-expert delegation and instruction quality guardrails#766
FL4TLiN3 merged 1 commit intomainfrom
refactor/create-expert-delegation-guardrails

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Generated expert definitions were missing delegates arrays, causing delegation to silently fail at runtime
  • Instructions contained code snippets, procedural steps, file-by-file specs, and library selection guides that bloat without adding value
  • Strengthened write-definition, design-roles, and verify-test to prevent these issues in future generations
  • Bumped all create-expert versions to 1.0.6

Test plan

  • Run create-expert to generate a new expert definition and verify delegates arrays are present on all coordinators
  • Verify generated instructions contain no fenced code blocks or numbered implementation checklists
  • Verify verify-test catches missing delegates arrays and returns CONTINUE

🤖 Generated with Claude Code

… guardrails

Generated expert definitions were missing `delegates` arrays (making delegation
silently fail) and contained code snippets, procedural instructions, and
file-by-file output specs that bloat instructions without adding value.

Changes across write-definition, design-roles, and verify-test:
- Make `delegates` array explicitly REQUIRED for coordinators in schema, rules, and checks
- Add verify-test checks for missing delegates, code snippets, file specs, library guides
- Strengthen instruction quality rules with concrete anti-pattern examples
- Bump all expert versions to 1.0.6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit ae642c6 into main Mar 13, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the refactor/create-expert-delegation-guardrails branch March 13, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant